import Vue from 'vue'
import App from './App'

import './directives'
import './components'

import router from './router'
import store from './store'

import VueSweetalert2 from './plugins/vue-sweetalert2'
import Message from './plugins/message'

Vue.use(VueSweetalert2)
Vue.use(Message)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>',
  created() {
    console.log(this.$options.el) // => '#app'
  }
})
